home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / collect / dwarryvw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.9 KB  |  78 lines

  1. // dwarryvw.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1999 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CDWordArrayView form view
  15.  
  16. #ifndef __AFXEXT_H__
  17. #include <afxext.h>
  18. #endif
  19.  
  20. class CDWordArrayView : public CFormView
  21. {
  22. public:
  23.     CDWordArrayView();           // protected constructor used by dynamic creation
  24.     DECLARE_DYNCREATE(CDWordArrayView)
  25.  
  26. // Attributes
  27. public:
  28.     CCollectDoc* GetDocument();
  29.  
  30. // Overrides
  31. public:
  32.     void OnInitialUpdate();
  33.  
  34. // Form Data
  35. public:
  36.     //{{AFX_DATA(CDWordArrayView)
  37. #if defined(_WIN32_WCE_PSPC)
  38.     enum { IDD = IDD_DWORD_ARRAY_PSPC };
  39. #else
  40.     enum { IDD = IDD_DWORD_ARRAY };
  41. #endif
  42.     CListBox    m_ctlList;
  43.     DWORD   m_dw;
  44.     //}}AFX_DATA
  45.  
  46. // Overrides
  47.     // ClassWizard generate virtual function overrides
  48.     //{{AFX_VIRTUAL(CDWordArrayView)
  49.     protected:
  50.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  51.     //}}AFX_VIRTUAL
  52.  
  53. // Implementation
  54. protected:
  55.     virtual ~CDWordArrayView();
  56. #ifdef _DEBUG
  57.     virtual void AssertValid() const;
  58.     virtual void Dump(CDumpContext& dc) const;
  59. #endif
  60.  
  61.     // Generated message map functions
  62.     //{{AFX_MSG(CDWordArrayView)
  63.     afx_msg void OnAdd();
  64.     afx_msg void OnUpdate();
  65.     afx_msg void OnRemove();
  66.     afx_msg void OnRemoveAll();
  67.     afx_msg void OnSelChangeList();
  68.     //}}AFX_MSG
  69.     DECLARE_MESSAGE_MAP()
  70. };
  71.  
  72. #ifndef _DEBUG
  73. inline CCollectDoc* CDWordArrayView::GetDocument()
  74.    { return (CCollectDoc*)m_pDocument; }
  75. #endif
  76.  
  77. /////////////////////////////////////////////////////////////////////////////
  78.